import request from "@/utils/request";
// 获取城市列表
export const getCityListAPI = () => {
  return request({
    url: "/dashboard/listCity",
    method: "POST",
  });
};

// 获取默认门店和城市初始信息
export const getStoreAndCityInfoAPI = () => {
  return request({
    url: "/dashboard/selectedCityAndBranch",
    method: "POST",
  });
};

// 获取消息模版
export const getMessageTemplateAPI = (params) => {
  return request({
    url: "/dashboard/getPushTemplate",
    method: "POST",
    data: params,
  });
};
